# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Grey Christoforo

pkgname=python-pivy
pkgver=0.6.8
pkgrel=2
pkgdesc='Bindings to Coin3D'
arch=(loong64 x86_64)
license=(BSD)
url='https://github.com/coin3d/pivy'
depends=(python soqt)
makedepends=(cmake git glu python-setuptools swig)
source=("git+$url#commit=83e99c18545bb66145716123151f6635c367533b") # tag: 0.6.8
b2sums=('SKIP')

package() {
  cd pivy
  python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
